package com.dxk.service;

import com.dxk.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeService {

    //获取所有员工
    List<Employee> getAllEmployee();

    //根据id获取员工
    Employee getEmployeeById(int id);

    //根据id删除一个员工
    int deleteEmployeeById(int id);

    //添加一个员工
    int addEmployee(Employee employee);

    //修改员工信息 根据id

    int updateEmployeeById(int id,Employee employee);
}
